-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the switch to implementing own stubs easier #255
Make the switch to implementing own stubs easier #255
Conversation
Figured out the Would like feedback on the |
I made a quick commit that addresses a few typos and fixes up a bit of formatting. Please have a look and make sure I didn't screw anything up. Otherwise this looks good to me. |
|
||
Before you are finished with the header file, you should add include guards. | ||
Include guards are used to help prevent the file from being included multiple times by accident. | ||
If the file _was_ included multiple times then the functions and other items would be declared twice; In C this is an error because the compiler thinks you are trying to declare another _different_ function that has the same name. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ;
could probably just be a .
, but I tried to take only a half step away from the em dash.
Thanks @ryanplusplus I've now added hints to the other two relevant exercises and regenerated the README.md files. So this PR should be good to go. |
For gigasecond, meetup and space-age
LGTM |
This PR is opened with regard to #252 where it was decided to add headers for the core exercise
isogram
and the non-core exercises that it unlocks, and also to addhints.md
files for the following core exercisegigasecond
and the non-core exercises that it unlocks to explain how a student should add their own headers.I have so far added the stub headers to
isogram
,acronym
andpangram
.I have also added a first draft of a
hints.md
file togigasecond
The
hints.md
file also needs to be added tospace-age
andmeetup
. I delay in adding them to make any edits that anyone suggests to thegigasecond
one before copying it over.Also, I am not sure how to correctly regenerate the README.md. I have downloaded the
configlet
and unzipped it, then cloned theproblem-specifications
repository to the same directory (which also holds thec
repository). Then in the root of thec
repository I run../configlet generate . --only gigasecond --spec-path ../problem-specifications
(all as outlined here: exercism/java#1085)
But nothing seems to happen and the
README.md
remains unchanged... What have I done wrong?